@import "@/var.scss";

.h-swiper {
  .h-swiper-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    .h-swiper-tab-item {
      text-align: center;
      width: 100px;
      border-radius: 0;
      background: 0 0;
      color: #5e6d82;
      margin: 0 50px;
      height: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      cursor: pointer;
      .tab-name {
        line-height: 28px;
        font-size: 20px;
        color: #5e6d82;
        margin-bottom: 16px;
      }
      .circle {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: #cbdbf4;
        border: 6px solid #f4f6f9;
        transition: all 0.3s linear;
        position: relative;
        &::after {
          content: "";
          position: absolute;
          bottom: 4px;
          left: 18px;
          width: 176px;
          height: 2px;
          z-index: 0;
          background: #f4f6f9;
        }
      }
      &:last-child .circle::after {
        content: none;
      }
      &.active {
        .tab-name {
          color: $green;
        }
        .circle {
          background: $green;
          border: 6px solid $light-green;
        }
      }
    }
  }
  .h-swiper-container {
    overflow: hidden;
    height: 730px;
    .h-swiper-wrapper {
      position: relative;
      width: 100%;
      height: 100%;
      z-index: 1;
      display: flex;
      transition-property: transform;
      box-sizing: content-box;
      .h-swiper-slide {
        flex-shrink: 0;
        width: 100%;
        height: 100%;
        position: relative;
        transition-property: transform;
        text-align: center;
        position: relative;
      }
    }
  }
}
